<?php

namespace Tests\Feature;

use Tests\TestCase;

class CityControllerTest extends TestCase
{
  public static function setUpBeforeClass(): void
  {
    self::$model = 'App\Models\City';
    self::$table = 'cities';
    self::$searchExpr = 'name=[lk]Ravenna';
    self::$searchRecord = ['district_id', '=', '75', 'name', '=', 'Ravenna'];
    self::$toIns = [
      'district_id' => 75,
      'name' => 'Lido di Dante',
    ];
    self::$searchToUpd = ['district_id', '=', '75', 'name', '=', 'Lido di Dante'];
    self::$toUpd = ['name' => 'The real Lido di Dante'];
    self::$searchToDel = ['district_id', '=', '75', 'name', '=', 'The real Lido di Dante'];
  }
}
